package com.celesea.sso.user.vo;


import com.celesea.sso.user.controller.request.LoginRequest;

/**
 * @author JackYuan
 * @create 2017-11-12 18:11
 */
public class LoginVo {

    private String username;
    private String password;

    public LoginVo(LoginRequest request) {
        this.username = request.getUsername();
        this.password = request.getPassword();
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    @Override
    public String toString() {
        return "LoginVo{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
